onQueryTextChange

abstract fun onQueryTextChange(newText: String): Boolean(source)

Called when the query text is changed by the user.

Return

false if the SearchView should perform the default action of showing any suggestions if available, true if the action was handled by the listener.

Parameters

newText

the new content of the query text field.